﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Data.Entity;
using System.Runtime.Serialization;

namespace ASPNETMVC4Tutorial.Models
{
    public class Student
    {
        public int ID { get; set; }
        [Required]
        public string Name { get; set; }

        //Navigation property.
        public virtual List<Score> Scores { get; set; }

    }
}